package com.will.nio.selector;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * @author Will
 * @description:
 *              测试  -   利用多线程优化事件处理
 * @date 2023-04-27 23:14
 * @version: 1.0
 */
public class MultiThreadClient {
    public static void main(String[] args) throws IOException {
        SocketChannel sc = SocketChannel.open();
        sc.connect(new InetSocketAddress("localhost", 8080));
        System.in.read();
    }
}
